package com.seven.ssa.mapper;

import com.seven.ssa.model.entity.Question;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

/**
* @author Dell
* @description 针对表【question(题目)】的数据库操作Mapper
* @createDate 2025-06-14 10:41:37
* @Entity entity.model.com.seven.ssa.Question
*/
public interface QuestionMapper extends BaseMapper<Question> {
    /**
     * P2：查询【某时间后更新的】题目（包括逻辑删除的数据）
     */
    @Select("select * from question where updateTime >= #{minUpdateTime}")
    List<Question> listQuestionWithDelete(Date minUpdateTime);
}




